﻿@using Library
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="content-language" content="@NOWCulture.CurrentCultureInfo.TwoLetterISOLanguageName" />
    <meta name="keywords" content="@ViewBag.Keywords">
    <meta name="description" content="@ViewBag.Description">
    <title>@ViewBag.Title</title>
    @if (IsSectionDefined("hreflangs"))
    {
        @RenderSection("hreflangs")
    }
    @if (IsSectionDefined("canonical"))
    {
        @RenderSection("canonical")
    }
    @Styles.Render("~/Content/admin-css")
    @RenderSection("styles", false)
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <div class="navbar navbar-material-blue navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a href="~/admin" title="@Settings.GetSetting("CompanyName")" class="navbar-brand"><img src="~/Content/images/sprites/logo.png" alt="Logo @Settings.GetSetting("CompanyName")" /></a>
            </div>
            <div class="navbar-collapse collapse">
                @Html.Action("Menu", "Shared", new { menuGroupId = 3, activeUrl = ViewBag.ActiveUrl })
                @Html.Partial("_LoginPartial")
            </div>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <div class="footercol1">
                <p>@Settings.GetSetting("Copyright")</p>
            </div>
            <div class="footercol2"></div>
        </footer>
    </div>
    @RenderSection("scripts", false)
    <script>
            $(document).ready(function() {
                $.material.init();
            });
    </script>
</body>
</html>
